package com.ruoyi.energy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 私汇总对象 omp_ny_check_sum
 *
 * @author cjie
 * @date 2021-11-06
 */
@Data
@ApiModel
public class NyCheckSum extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id")
    private String id;

    /** 表编号 */
    @Excel(name = "表编号")
    @ApiModelProperty(value = "表编号")
    private String meterId;

    /** 费用周期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "费用周期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "费用周期")
    private Date feeCycle;

    /** 表编码 */
    @Excel(name = "表编码")
    @ApiModelProperty(value = "表编码")
    private String meterNum;

    /** 表编码 */
    @Excel(name = "园区编码")
    @ApiModelProperty(value = "园区编码")
    private String parkNum;

    /** 表类型 */
    @Excel(name = "表类型")
    @ApiModelProperty(value = "表类型")
    private String meterType;

    /** 差值 */
    @Excel(name = "差值")
    @ApiModelProperty(value = "差值")
    private BigDecimal diffValue;

    /** 表类型 */
    @Excel(name = "表性质")
    @ApiModelProperty(value = "表性质")
    private String category;

    /** 上期度数 */
    @Excel(name = "上期度数")
    @ApiModelProperty(value = "上期度数")
    private BigDecimal lastValue;

    /** 实际量 */
    @Excel(name = "实际量")
    @ApiModelProperty(value = "实际用量")
    private BigDecimal actualDosage;

    /** 本期度数 */
    @Excel(name = "本期度数")
    @ApiModelProperty(value = "本期度数")
    private BigDecimal currentValue;

    /** 是否累加 */
    @Excel(name = "是否累加")
    @ApiModelProperty(value = "是否累加")
    private String isComputed;

    /** 汇总值 */
    @Excel(name = "汇总值")
    @ApiModelProperty(value = "汇总值")
    private BigDecimal privateSum;;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    /** 父id */
    @ApiModelProperty(value = "父id")
    private String pid;

    /** 企业id */
    @Excel(name = "企业id")
    @ApiModelProperty(value = "企业id")
    private String enterpriseId;


}
